<template>
	<div class="wraper" :class="{padTop:isIphoneX,iphone:isIphone,isMYKEY:isMYKEY}">
		<div class="nav-bar">
			<div class="arrow" @click="goBack"></div>
		</div>
		<div class="content">
			<h1>{{type==1?'设置支付宝收款':type==3?'设置微信收款':'设置银行卡收款'}}</h1>
			<div class="qrcode-info">
<!-- 				<div class="title" v-if="type==1 || type==3">
					{{type==1?'·请上传您的支付宝收款二维码':'·请上传您的微信收款二维码'}}
				</div> -->
<!-- 				<div class="main" v-if="type==1 || type==3">
					<div class="img-info" @click="getImgUrl">
						<img v-if="qrCodeUrl" :src="qrCodeUrl" />
						<input ref="evfile" @change="getImgUrlChange" style="display: none;" type="file"  accept="image/*" id="uploadImage">
					</div>
					<p>{{type==1?'支付宝收款二维码':'微信收款二维码'}}</p>
				</div> -->
				<div class="item">
					<span>姓名</span><span>{{name}}</span>
				</div>
				<div class="item" v-if="type==1 || type==3">
					<span>{{type==1?'支付宝账户':'微信账户'}}</span>
					<input @blur="blur" v-model="account" type="text" :placeholder="type==1?'请输入支付宝账户':'请输入微信账户'">
				</div>
				<div class="item" v-if="type==2">
					<span>银行卡号</span>
					<input @blur="blur" v-model="bankCode" type="number" placeholder="请输入银行卡号">
				</div>
				<div class="item" v-if="type==2">
					<span>银行名称</span>
					<input @blur="blur" v-model="bankName" type="text" placeholder="请输入银行名称">
				</div>
			</div>
			<van-button @click="confirm" :loading="loading" type="primary" color="#1C4D7F">提交</van-button>
			<div class="c-info">
				<p>·请仔细核对收款账号信息</p>
				<p>·绑定的账号必须为本人真实账号</p>
			</div>
		</div>
	</div>
</template>
<script src="./setUserDropInfo.js"></script>
<style scoped>
	@import './setUserDropInfo.css';
</style>